package com.lieve.tomcat.agile;

import java.util.Date;

/**
 * @author sunlijiang
 * @date 2020/6/25
 */
public interface Employee {

    boolean isTimeToPay(Date payDate);


    void pay();

    Employee NULL = new Employee() {
        @Override
        public boolean isTimeToPay(Date payDate) {
            return false;
        }

        @Override
        public void pay() {

        }
    };

}
